import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import Footer from "./components/footer.vue"
import VueLazyLoad from 'vue-lazyload'
import { PullRefresh } from 'vant';
Vue.use(PullRefresh);
import { Swipe, SwipeItem } from 'vant';
Vue.use(Swipe);
import qs from 'qs';
// Vue.use(qs);

Vue.prototype.$qs = qs
Vue.use(SwipeItem);
Vue.use(VueLazyLoad,{
  error:require('../public/img/loading.gif'),
  loading:require('../public/img/loading.gif')
})
Vue.use(ElementUI);
require("./mock")
Vue.component("Footer",Footer)
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
